package asciiPanel;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@ComponentScan("asciiPanel")
public class Config {

    @Bean
    public  AsciiPanel asciiFont() {
        AsciiFont asciiFont = new AsciiFont("taffer_10x10.png", 10, 10);
        AsciiPanel asciiPanel = new AsciiPanel();
        asciiPanel.setAsciiFont(asciiFont);
        return asciiPanel;
    }




}
